<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>用户信息添加</title>

<meta name="description"
	content="Source code generated using layoutit.com">
<meta name="author" content="LayoutIt!">

<link href="${basePath}Bootstrap3/css/bootstrap.min.css" rel="stylesheet">
<link href="${basePath}Bootstrap3/css/bootstrap-theme.min.css" rel="stylesheet">
<link href="${basePath}Bootstrap3/css/style.css" rel="stylesheet">
<style type="text/css">
/**文本框内容右对齐**/
label {
	text-align: right;
}
/**自定义row的行距**/
.rowHeigth {
	margin-top: 10px;
}
</style>
	<script src="${basePath}Bootstrap3/js/jquery.min.js"></script>
	<script src="${basePath}Bootstrap3/js/bootstrap.min.js"></script>
	<script src="${basePath}Bootstrap3/js/scripts.js"></script>
	<!-- ======easyui====== -->
	<link rel="stylesheet" type="text/css" href="${basePath}jquery-easyui-1.5/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="${basePath}jquery-easyui-1.5/themes/icon.css">
	<script type="text/javascript" src="${basePath}jquery-easyui-1.5/jquery.min.js"></script>
	<script type="text/javascript" src="${basePath}jquery-easyui-1.5/jquery.easyui.min.js"></script>
	
	<!-- ======easyui====== -->
	
</head>
<body>

	<form action="${basePath}saveUserInfo.do" method="post" id="myForm1">

		<div class="container-fluid">
			<div class="row rowHeigth">

				<input type="hidden" id="txtUserId" name="txtUserId"
					value="${requestScope.usersB.userid }">
					
				<input type="hidden" id="hiddensex"
					value="${requestScope.usersB.usersex }">
					
				<input type="hidden" id="hiddenselectAge"
					value="${requestScope.usersB.userage }">

				<div class="form-group">
					<label class="col-sm-2 control-label">用户名</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" id="txtUserName"
							name="username" value="${requestScope.usersB.username }"
							placeholder="用户名">
					</div>

					<label class="col-sm-2 control-label">性别</label>
					<div class="col-sm-4">
					<label class="radio-inline"> 
						<input type="radio"	name="selectSext" id="selectSext1" value="女"  > 女
						</label> <label class="radio-inline"> <input type="radio"
							name="selectSext" id="selectSext2" value="男" > 男
						</label>
					
						<%-- <label class="radio-inline"> 
						<input type="radio"	name="selectSext" id="selectSext1" value="女" <c:if test="${requestScope.usersB.usersex =='女' }">checked</c:if>  > 女
						</label> <label class="radio-inline"> <input type="radio"
							name="selectSext" id="selectSext2" value="男" <c:if test="${requestScope.usersB.usersex =='男' }">checked</c:if>> 男
						</label> --%>
					</div>
				</div>

			</div>


			<div class="row rowHeigth">
				<div class="form-group">
					<label class="col-sm-2 control-label">密码</label>
					<div class="col-sm-4">
						<input type="password" class="form-control" id="txtUserPsw"
							name="txtUserPsw" value="${requestScope.usersB.userpsw }"
							placeholder="密码">
					</div>

					<label class="col-sm-2 control-label">确认密码</label>
					<div class="col-sm-4">
						<input type="password" class="form-control" id="txtUserPsw2"
							name="txtUserPsw2" value="${requestScope.usersB.userpsw }"
							placeholder="确认密码">
					</div>
				</div>

			</div>

			<div class="row rowHeigth">

				<div class="form-group">
					<label class="col-sm-2 control-label" for="txtUserAge">年龄</label>
					<div class="col-sm-4">
						<select class="form-control" id="txtUserAge" name="txtUserAge">
							<c:forEach begin="18" end="60" varStatus="st">
								<option value="${st.index }">${st.index }</option>
							</c:forEach>							
						</select>


					</div>

					<label class="col-sm-2 control-label" for="txtUserTel">出生日期</label>
					<div class="col-sm-4">
						<input type="text" class="easyui-datetimebox" id="txtUserTel"
							name="userBirthday" 
							placeholder="联系方式">
							
							
					</div>
				</div>

			</div>

			<div class="row rowHeigth">

				<div class="form-group">
					<label class="col-sm-2 control-label" for="province">省份</label>
					<div class="col-sm-4">
						<select class="form-control" id="province" name="province">							
						</select>
					</div>

					<label class="col-sm-2 control-label" for="city">城市</label>
					<div class="col-sm-4">
						<select class="form-control" id="city" name="city">							
						</select>
					</div>
				</div>

			</div>


			<div class="row rowHeigth">
				<div class="form-group">
					<label class="col-sm-2 control-label" for="txtUserAddress">地址</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" id="txtUserAddress"
							name="txtUserAddress" value="${requestScope.usersB.useraddress }"
							placeholder="地址">
					</div>


				</div>

			</div>

			<div class="row rowHeigth">
				<div class="form-group">
					<div class="col-sm-offset-4 col-sm-2">
						<button type="submit" class="btn btn-default">保存</button>
					</div>
					<div class="col-sm-offset-2 col-sm-4">
						<button type="reset" class="btn btn-default">重置</button>
					</div>
				</div>

			</div>

		</div>

	</form>


	
</body>
</html>